<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <!--<meta name="viewport" content="width=device-width, initial-scale=1,user-scalable=no"/>-->
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <meta name="description" content="web description is me">
    <meta name="author" content="wangqinmin">
    <link rel="icon" href="../img/icon/B.ico">
    <title>bootstrap组件</title>
    <link rel="stylesheet" href="../bootstrap-3.3.7/css/bootstrap.css"/>
    <link rel="stylesheet" href="../bootstrap-3.3.7/css/bootstrap-theme.css"/>
    <link href="../css/ie10-viewport-bug-workaround.css" rel="stylesheet">
    <link href="../css/starter-template.css" rel="stylesheet">
    <script type="text/javascript" src="../jquery-3.3.1/jquery-3.3.1.js"></script>
    <script type="text/javascript" src="../bootstrap-3.3.7/js/bootstrap.js"></script>
</head>
<body>

<!-- container：作用相当于一个自动居中的容器(用的地方很多，不然样式可能难看) -->
<div class="container">
    <h1>基本用法</h1>
    <div class="input-group">
        <span class="input-group-addon">@</span>
        <input type="text" class="form-control">
        <span class="input-group-addon">.00</span>
        <input type="text" class="form-control">
    </div>
    <!-- input-group-lg:尺寸大小设置 -->
    <div class="input-group input-group-lg">
        <!-- glyphicon glyphicon-user: 这个是用户小图标 -->
        <span class="input-group-addon glyphicon glyphicon-user"></span>
        <input type="text" class="form-control">
    </div>
    <!-- input-group-lg:尺寸大小设置 -->
    <div class="input-group input-group-sm">
        <!-- glyphicon glyphicon-user: 这个是用户小图标 -->
        <span class="input-group-addon">
            <input type="checkbox">
        </span>
        <input type="text" class="form-control">
    </div>
    <!-- input-group-lg:尺寸大小设置 -->
    <div class="input-group input-group-sm">
        <!-- glyphicon glyphicon-user: 这个是用户小图标 -->
        <span class="input-group-addon">
            <input type="checkbox">
        </span>
        <input type="text" class="form-control">
    </div>
</div>
</body>
</html>